Skip to content

Comments

Avoid compiler to optimize away DAQPResult struct#106

Merged
darnstrom merged 1 commit intomasterfrom
fix-j10-v2
Jan 5, 2026
Merged

Avoid compiler to optimize away DAQPResult struct#106
darnstrom merged 1 commit intomasterfrom
fix-j10-v2

Conversation

@darnstrom
Copy link
Owner

Should fix #105. The compiler seems to sometimes not realize that a struct is modified with when calling the C function daqp_solve. Explicitly calling unsafe_load should fix this.

@darnstrom darnstrom merged commit 4c4f131 into master Jan 5, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DAQP v0.3.3 crashes on Julia 1.10 with KeyError: key 0 not found

1 participant